﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace DecisionFramework.RequestResultExample
{
    /// <summary>
    /// Represents a data shaping request.
    /// </summary>
    [DataContract]
    public class ShapingRequest
    {
        /// <summary>
        /// The page number to retrieve.
        /// </summary>
        [DataMember]
        public int Page { get; set; }

        /// <summary>
        /// The number of results per page.
        /// </summary>
        [DataMember]
        public int PerPage { get; set; }

        /// <summary>
        /// The optional property to sort by.
        /// </summary>
        [DataMember]
        public string SortByProperty { get; set; }

    }
}
